package com.itqf.mapper;

import com.itqf.bean.DtsAd;
import com.itqf.bean.DtsAdExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DtsAdMapper {
    long countByExample(DtsAdExample example);

    int deleteByExample(DtsAdExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(DtsAd record);

    int insertSelective(DtsAd record);

    List<DtsAd> selectByExample(DtsAdExample example);

    DtsAd selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") DtsAd record, @Param("example") DtsAdExample example);

    int updateByExample(@Param("record") DtsAd record, @Param("example") DtsAdExample example);

    int updateByPrimaryKeySelective(DtsAd record);

    int updateByPrimaryKey(DtsAd record);
}